package com.pencil.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class SimpleAction implements Action {

	public ActionForward execute(HttpServletRequest request, HttpServletResponse response) {
		ActionForward forward=null;
		String command = request.getParameter("command");
		if(command.equalsIgnoreCase("index")){
			forward = new ActionForward();
			forward.setUrl("index");
			forward.setRedirect(true);
		}
		return forward;
	}

}
